<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<h1><fmt:message key="menu.top.item.semantic.caption" /></h1>
<form action="/museum/semantic" method="post">
	Available prefixes: <c:out value="${prefixes}"></c:out>
	<label style="width: 250px;" for="query"><fmt:message key="page.semantic.query" />:</label>
	<textarea name="query" ></textarea>
	<input type="submit"/>
	
	<c:choose>
		<c:when test="${not empty result}">
			<div>
				Search result: 
				<c:out value="${result}"></c:out>
			</div>
		</c:when>
	</c:choose>
</form>